﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="AddLogisticCompany.aspx.cs" Inherits="WXYW.AddLogisticCompany" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    新建物流公司
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <table cellpadding="0px" cellspacing="0px" style="width: 100%">
        <tr>
            <td style="background-color: #f5f5f5; width: 20px;">
            </td>
            <td style="background-color: #ffffff;">
                <table style="width: 100%">
                    <tr style="height:30px">
                        <td style="width: 100px">
                            公司名称:
                        </td>
                        <td style="width: 200px">
                            <asp:TextBox ID="NameTxtBox" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td style="width: 10px">
                            <asp:RequiredFieldValidator ID="NameRequiredFieldValidator" runat="server" ErrorMessage="请输入公司名称；"
                                Text="*" ControlToValidate="NameTxtBox" ValidationGroup="NewLogisticCompanyValidation"></asp:RequiredFieldValidator>
                        </td>
                        <td style="width: 100px">
                            关系:
                        </td>
                        <td style="width: 200px">
                            <asp:TextBox ID="RelationTxtBox" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td style="width: 10px">
                        </td>
                    </tr>
                    <tr style="height:30px">
                        <td style="width: 100px">
                            地址:
                        </td>
                        <td style="width: 500px" colspan="4">
                            <asp:TextBox ID="AddressTxtBox" runat="server" Width="635px"></asp:TextBox>
                        </td>
                        <td style="width: 10px">
                             <asp:RequiredFieldValidator ID="AddressRequiredFieldValidator" runat="server" ErrorMessage="请输入通讯地址；"
                                Text="*" ControlToValidate="AddressTxtBox" ValidationGroup="NewLogisticCompanyValidation"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr style="height:30px">
                        <td style="width: 100px">
                            联系人1:
                        </td>
                        <td style="width: 200px">
                            <asp:TextBox ID="Contact1TxtBox" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td style="width: 10px">
                             <asp:RequiredFieldValidator ID="Contact1RequiredFieldValidator" runat="server" ErrorMessage="请输入联系人1的姓名；"
                                Text="*" ControlToValidate="Contact1TxtBox" ValidationGroup="NewLogisticCompanyValidation"></asp:RequiredFieldValidator>
                        </td>
                        <td style="width: 100px">
                            联系电话:
                        </td>
                        <td style="width: 200px">
                            <asp:TextBox ID="Phone1TxtBox" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td style="width: 10px">
                        </td>
                    </tr>
                    <tr style="height:30px">
                        <td style="width: 100px">
                            联系手机:
                        </td>
                        <td style="width: 200px">
                            <asp:TextBox ID="MobilePhone1TxtBox" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td style="width: 10px">
                             <asp:RequiredFieldValidator ID="MobilePhone1RequiredFieldValidator3" runat="server" ErrorMessage="请输入联系人1的手机号码；"
                                Text="*" ControlToValidate="MobilePhone1TxtBox" ValidationGroup="NewLogisticCompanyValidation"></asp:RequiredFieldValidator>
                        </td>
                        <td style="width: 100px">
                            联系传真:
                        </td>
                        <td style="width: 200px">
                            <asp:TextBox ID="Fax1TxtBox" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td style="width: 10px">
                        </td>
                    </tr>
                     <tr style="height:30px">
                        <td style="width: 100px">
                            联系人2:
                        </td>
                        <td style="width: 200px">
                            <asp:TextBox ID="Contact2TxtBox" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td style="width: 10px">
                        </td>
                        <td style="width: 100px">
                            联系电话:
                        </td>
                        <td style="width: 200px">
                            <asp:TextBox ID="Phone2TxtBox" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td style="width: 10px">
                        </td>
                    </tr>
                    <tr style="height:30px">
                        <td style="width: 100px">
                            联系手机:
                        </td>
                        <td style="width: 200px">
                            <asp:TextBox ID="MobilePhone2TxtBox" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td style="width: 10px">
                        </td>
                        <td style="width: 100px">
                            联系传真:
                        </td>
                        <td style="width: 200px">
                            <asp:TextBox ID="Fax2TxtBox" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td style="width: 10px">
                        </td>
                    </tr>
                    <tr align="center" style="height:30px">
                        <td colspan="6">
                            <asp:Button ID="SaveButton" runat="server" Text="保存" onclick="SaveButton_Click" 
                                Width="80px" ValidationGroup="NewLogisticCompanyValidation" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6">
                            <asp:Label ID="MsgLbl" runat="server" ForeColor="Red"></asp:Label>
                            <asp:ValidationSummary ID="ValidationSummary" runat="server" EnableClientScript="true"
                                DisplayMode="BulletList" ValidationGroup="NewLogisticCompanyValidation" />
                        </td>
                    </tr>
                </table>
            </td>
            <td style="background-color: #f5f5f5; width: 20px;">
            </td>
        </tr>
    </table>
</asp:Content>

    